package com.whw.springboot.walk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@ApiModel(value = "com-whw-springboot-walk-entity-Lesson")
@NoArgsConstructor
@Data
public class Lesson {

    public interface  ArticleView extends Message.UnionSimpleView {}

    @ApiModelProperty(value = "课程Id")
    private String lessonId;


    @ApiModelProperty(value = "课程名称")
    private String lessonName;


    @ApiModelProperty(value = "代课教师")
    private String lessonTeacher;


    @ApiModelProperty(value = "上课地点")
    private String lessonAddress;


    @ApiModelProperty(value = "星期几")
    private String lessonDay;


    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date lessonStartTime;


    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date lessonStopTime;


    @ApiModelProperty(value = "开始周")
    private String lessonStartWeek;


    @ApiModelProperty(value = "结束周")
    private String lessonStopWeek;


    @ApiModelProperty(value = "旁听最大人数")
    private String lessonPersonNum;


    @ApiModelProperty(value = "报名人数")
    private String lessonNowNum;


}
